7d5c376ae6cd73dc9ae2129371e63492bf886bfe,src/jfs/sync/encryption/JFSEncryptedFile.java,JFSEncryptedFile,getLength,#,154

Before Change


                ObjectInputStream ois = new ObjectInputStream(fis);
                JFSEncryptedStream.readMarker(ois);
                fileInfo.setSize(JFSEncryptedStream.readLength(ois));
                if (log.isDebugEnabled()) {
                    log.debug("getLength("+getRelativePath()+") detected plain text length "+fileInfo.getSize());
                } // if
                ois.close();
            } catch (Exception e) {

After Change


                ObjectInputStream ois = new ObjectInputStream(fis);
                JFSEncryptedStream.readMarker(ois);
                fileInfo.setSize(JFSEncryptedStream.readLength(ois));
                LOG.debug("getLength({}) detected plain text length {}", getRelativePath(), fileInfo.getSize());
                ois.close();
            } catch (Exception e) {
                // TODO: what to do now?!?!?!